www.gusucode.com > 落叶冰点万能企业网站内容管理系统 V9.1 > 落叶冰点万能企业网站内容管理系统 V9.1\code\admin\adminArticle\D_do_yidong.asp

    <%


'**************************************************************
' 新动软网站管理系统
' 官方网站: http://www.aspcpu.com
' 系统作者: 阮丁远(网名:天下程序)
' Copyright 新动软网站管理系统 版权所有
'**************************************************************


%>





<LINK href="../css.css" type=text/css rel=stylesheet>
<%

dir_set="../../"


%>


<!--#include file=../../inc/conn.asp-->
<!--#include file=../../inc/Functionb.asp-->

<!--#include file=../../inc/ajaxLIB.asp-->

<!--#include file=../inc/checkadmin2.asp-->

<!--#include file=../../inc/functionFiless.asp-->

<!--#include file=inc_lanmu_bl.asp-->



<%
AJAXshowLoader()


%>



	<%
biao="[ND_Article_class]"
biao2="[ND_Article]"
sys_content_type=trim(request("sys_content_type"))




set rs44g=server.CreateObject("adodb.recordset")
rs44g.open "select * from ND_channel where sys_content_type_name='"&sys_content_type&"' and lanmu_type='"&lanmu_taba&"'",conn,1,1
if find_dataw(lanmu_taba,rs44g("id"),2)<>"1" and qx_if_max=0 then
response.redirect "../D_suodinguser.asp"
end if





%>

<%
err1=0

if request("yclassid")="xx" or request("dclassid")="xx" then
err1=1
%>
<script language="javascript">
alert("请选择原分类 和 移动到的分类 ");
history.go(-1);

</script>




<%

end if
%>


<% if err1=0 then


conn.execute("update  "&biao2&" set classid='"&request("dclassid")&"' where classid='"&request("yclassid")&"'")

if err.number=0 then

%>

<script language="javascript">
alert("移动成功");
self.location="D_admin_acticle.asp?sys_content_type=<%=sys_content_type%>";

</script>

<%

end if


end if
%>



<%

AJAXcloseLoader()
%>